package cn.wolfcode.car.business.service;

import cn.wolfcode.car.business.domain.Store;
import cn.wolfcode.car.business.query.LinkmenQuery;
import cn.wolfcode.car.business.query.StoreQuery;
import cn.wolfcode.car.common.base.page.TablePageInfo;

import java.util.List;

/**
 * 仓库接口
 */
public interface IStoreService {

    /**
     * 分页
     * @param qo
     * @return
     */
    TablePageInfo<Store> query(StoreQuery qo);


    /**
     * 查单个
     * @param id
     * @return
     */
    Store get(Long id);


    /**
     * 保存
     * @param linkmen
     */
    void save(Store linkmen);



    /**
     * 查询全部
     * @return
     */
    List<Store> list();

    void update(Store store);

    void delete(Long ids);
}
